新葡萄娱乐官网版安卓版下载-百度百科

[0] TemplateNotFoundException in Think.php line 80

模板文件不存在:Theme/Home/green/article/{:url("home.tpl

  1. */
  2. public function fetch($template, $data = [], $config = [])
  3. {
  4. if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
  5. // 获取模板文件名
  6. $template = $this->parseTemplate($template);
  7. }
  8. // 模板不存在 抛出异常
  9. if (!is_file($template)) {
  10. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  11. }
  12. // 记录视图信息
  13. App::$debug && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]', 'info');
  14. $this->template->fetch($template, $data, $config);
  15. }
  16. /**
  17. * 渲染模板内容
  18. * @access public

Call Stack

  1. in Think.php line 80
  2. at Think->fetch('', ['modulename' => 'article', 'actionname' => '{:url("home', 's' => '/Home/article/{:url ...', ...], []) in View.php line 159
  3. at View->fetch('', [], []) in View.php line 36
  4. at View->output('') in Response.php line 305
  5. at Response->getContent() in Response.php line 94
  6. at Response->send() in start.php line 18
  7. at require('/home/wwwroot/sczhen...') in index.php line 21

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
92a4259kugu0cqinfk6b9k6d70
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/home/wwwroot/sczhengda.com/index.php
QUERY_STRING
s=/Home/article/{:url("Home/Article/index")}
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/Home/article/%7B:url(%22Home/Article/index%22)%7D
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/home/wwwroot/sczhengda.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.12.2
REMOTE_ADDR
23.90.23.178
REMOTE_PORT
37888
SERVER_ADDR
211.149.203.3
SERVER_PORT
80
SERVER_NAME
sczhengda.com
REDIRECT_STATUS
200
PATH_INFO
/Home/article/{:url("Home/Article/index")}
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
HTTP_HOST
www.sczhengda.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
HTTP_COOKIE
PHPSESSID=92a4259kugu0cqinfk6b9k6d70
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1715920848.5317
REQUEST_TIME
1715920848
Environment Variables
empty

ThinkPHP Constants

APP_NAME
ZhiMengCMS
WEB_PATH
/home/wwwroot/sczhengda.com
APP_NAMESPACE
ZhiMengApp
EXTEND_PATH
/home/wwwroot/sczhengda.com/ZhiMengApp/extend/
VENDOR_PATH
/home/wwwroot/sczhengda.com/Vendor/
LOG_PATH
/home/wwwroot/sczhengda.com/RunTime/log/
TEMP_PATH
/home/wwwroot/sczhengda.com/RunTime/temp/
HTML_PATH
/home/wwwroot/sczhengda.com/Html/
CACHE_PATH
/home/wwwroot/sczhengda.com/RunTime/cache/
DATA_PATH
/home/wwwroot/sczhengda.com/RunTime/field/
APP_PATH
/home/wwwroot/sczhengda.com/ZhiMengApp/
RUNTIME_PATH
/home/wwwroot/sczhengda.com/RunTime/
THINK_VERSION
5.0.7
THINK_START_TIME
1715920848.5328
THINK_START_MEM
267168
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/
LIB_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/library/
CORE_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/sczhengda.com/
CONF_PATH
/home/wwwroot/sczhengda.com/ZhiMengApp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
CONTROLLER_NAME
Article
ACTION_NAME
{:url("home
XML 地图